package com.wwtech.epp.ui.activity.work.contract;

import com.wwtech.epp.entity.ApproveState;
import com.wwtech.epp.ui.activity.base.BasePresenter;
import com.wwtech.epp.ui.activity.base.BaseView;

import java.util.Map;

/**
 * @author hzp
 * @Package The contract for ApproveDetailActivity
 * @Description: $description
 * @date 2017/09/22 09:41:14
 */
public interface ApproveDetailContract {
    interface View extends BaseView<ApproveDetailContractPresenter> {
        /**
         *
         */
        void showProgressDialog();

        /**
         *
         */
        void closeProgressDialog();

        void onRemoveApproveSuccess();

        void onGetApproveStateSuccess(ApproveState approveState);

        void onOperateSuccess();
    }

    interface ApproveDetailContractPresenter extends BasePresenter {
//        /**
//         *
//         */
//        void getBusinessInfo(Map map);
        void getUIDesc(String dataId, Map map);

        void removeApprove(Map map);

        void operateApprove(Map map);

        void getApproveDetail(String getApproveInfo, Map map);
    }
}